package com.gxufl.entity;

/**
 * 海报实体类，与数据库的movie_notice表对应
 */
public class Notice {
	public Integer id;
	public String name;
	public String content;
	public String showdate;
	public Integer priority;

	public Notice() {
	}

	public Notice(String name, String content, String showdate, Integer priority) {
		super();
		this.name = name;
		this.content = content;
		this.showdate = showdate;
		this.priority = priority;
	}

	public void show() {
		// YYYY-MM-DD 上映《${}》
		System.out.println(String.format("%s 上映《%s》", this.showdate, this.name));
	}
	
	
	
	// ----get set----

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getShowdate() {
		return showdate;
	}

	public void setShowdate(String showdate) {
		this.showdate = showdate;
	}

	public Integer getPriority() {
		return priority;
	}

	public void setPriority(Integer priority) {
		this.priority = priority;
	}
	

	
	
	
	

}
